0 Prolog
↳1 PrologToDTProblemTransformerProof (⇒, 285 ms)
↳2 TRIPLES
↳3 TriplesToPiDPProof (⇒, 336 ms)
↳4 PiDP
↳5 DependencyGraphProof (⇔, 0 ms)
↳6 AND
↳7 PiDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 PiDP
↳10 PiDPToQDPProof (⇒, 21 ms)
↳11 QDP
↳12 QDPSizeChangeProof (⇔, 0 ms)
↳13 YES
↳14 PiDP
↳15 UsableRulesProof (⇔, 0 ms)
↳16 PiDP
↳17 PiDPToQDPProof (⇒, 0 ms)
↳18 QDP
↳19 QDPSizeChangeProof (⇔, 0 ms)
↳20 YES
↳21 PiDP
↳22 UsableRulesProof (⇔, 0 ms)
↳23 PiDP
↳24 PiDPToQDPProof (⇒, 0 ms)
↳25 QDP
↳26 QDPSizeChangeProof (⇔, 0 ms)
↳27 YES
↳28 PiDP
↳29 UsableRulesProof (⇔, 0 ms)
↳30 PiDP
↳31 PiDPToQDPProof (⇒, 0 ms)
↳32 QDP
↳33 QDPSizeChangeProof (⇔, 0 ms)
↳34 YES
↳35 PiDP
↳36 UsableRulesProof (⇔, 0 ms)
↳37 PiDP
↳38 PiDPToQDPProof (⇒, 0 ms)
↳39 QDP
↳40 QDPSizeChangeProof (⇔, 0 ms)
↳41 YES
↳42 PiDP
↳43 UsableRulesProof (⇔, 0 ms)
↳44 PiDP
↳45 PiDPToQDPProof (⇒, 0 ms)
↳46 QDP
↳47 QDPSizeChangeProof (⇔, 0 ms)
↳48 YES
↳49 PiDP
↳50 PiDPToQDPProof (⇒, 0 ms)
↳51 QDP
↳52 Rewriting (⇔, 57 ms)
↳53 QDP
↳54 UsableRulesProof (⇔, 0 ms)
↳55 QDP
↳56 QReductionProof (⇔, 0 ms)
↳57 QDP
↳58 Rewriting (⇔, 46 ms)
↳59 QDP
↳60 UsableRulesProof (⇔, 0 ms)
↳61 QDP
↳62 QReductionProof (⇔, 0 ms)
↳63 QDP
↳64 Instantiation (⇔, 0 ms)
↳65 QDP
↳66 QDPOrderProof (⇔, 245 ms)
↳67 QDP
↳68 DependencyGraphProof (⇔, 0 ms)
↳69 QDP
↳70 UsableRulesProof (⇔, 0 ms)
↳71 QDP
↳72 QReductionProof (⇔, 0 ms)
↳73 QDP
↳74 QDPOrderProof (⇔, 4 ms)
↳75 QDP
↳76 DependencyGraphProof (⇔, 0 ms)
↳77 TRUE
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4))), X5) → U7_GA(X1, X2, X3, X4, X5, appcB_in_gggga(X1, X2, X3, X4, X6))
U7_GA(X1, X2, X3, X4, X5, appcB_out_gggga(X1, X2, X3, X4, X6)) → U8_GA(X1, X2, X3, X4, X5, parseA_in_ga(X6, X5))
U7_GA(X1, X2, X3, X4, X5, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6, X5)
PARSEA_IN_GA(cons(X1, X2), X3) → U9_GA(X1, X2, X3, appC_in_aaaaag(X4, X5, X6, X7, X8, X2))
PARSEA_IN_GA(cons(X1, X2), X3) → APPC_IN_AAAAAG(X4, X5, X6, X7, X8, X2)
APPC_IN_AAAAAG(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U1_AAAAAG(X1, X2, X3, X4, X5, X6, X7, appC_in_aaaaag(X2, X3, X4, X5, X6, X7))
APPC_IN_AAAAAG(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPC_IN_AAAAAG(X2, X3, X4, X5, X6, X7)
PARSEA_IN_GA(cons(X1, X2), X3) → U10_GA(X1, X2, X3, appcC_in_aaaaag(X4, X5, X6, X7, X8, X2))
U10_GA(X1, X2, X3, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U11_GA(X1, X2, X3, appI_in_ggggga(X4, X5, X6, X7, X8, X9))
U10_GA(X1, X2, X3, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → APPI_IN_GGGGGA(X4, X5, X6, X7, X8, X9)
APPI_IN_GGGGGA(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U2_GGGGGA(X1, X2, X3, X4, X5, X6, X7, appI_in_ggggga(X2, X3, X4, X5, X6, X7))
APPI_IN_GGGGGA(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPI_IN_GGGGGA(X2, X3, X4, X5, X6, X7)
U10_GA(X1, X2, X3, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, X3, appcD_in_gggggga(X1, X4, X5, X6, X7, X8, X9))
U12_GA(X1, X2, X3, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → U13_GA(X1, X2, X3, parseA_in_ga(X9, X3))
U12_GA(X1, X2, X3, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9, X3)
PARSEA_IN_GA(X1, X2) → U14_GA(X1, X2, appE_in_aaaag(X3, X4, X5, X6, X1))
PARSEA_IN_GA(X1, X2) → APPE_IN_AAAAG(X3, X4, X5, X6, X1)
APPE_IN_AAAAG(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U3_AAAAG(X1, X2, X3, X4, X5, X6, appE_in_aaaag(X2, X3, X4, X5, X6))
APPE_IN_AAAAG(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPE_IN_AAAAG(X2, X3, X4, X5, X6)
PARSEA_IN_GA(X1, X2) → U15_GA(X1, X2, appcE_in_aaaag(X3, X4, X5, X6, X1))
U15_GA(X1, X2, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U16_GA(X1, X2, appF_in_gggga(X3, X4, X5, X6, X7))
U15_GA(X1, X2, appcE_out_aaaag(X3, X4, X5, X6, X1)) → APPF_IN_GGGGA(X3, X4, X5, X6, X7)
APPF_IN_GGGGA(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U4_GGGGA(X1, X2, X3, X4, X5, X6, appF_in_gggga(X2, X3, X4, X5, X6))
APPF_IN_GGGGA(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPF_IN_GGGGA(X2, X3, X4, X5, X6)
U15_GA(X1, X2, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, X2, appcF_in_gggga(X3, X4, X5, X6, X7))
U17_GA(X1, X2, appcF_out_gggga(X3, X4, X5, X6, X7)) → U18_GA(X1, X2, parseA_in_ga(X7, X2))
U17_GA(X1, X2, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7, X2)
PARSEA_IN_GA(X1, X2) → U19_GA(X1, X2, appG_in_aag(X3, X4, X1))
PARSEA_IN_GA(X1, X2) → APPG_IN_AAG(X3, X4, X1)
APPG_IN_AAG(cons(X1, X2), X3, cons(X1, X4)) → U5_AAG(X1, X2, X3, X4, appG_in_aag(X2, X3, X4))
APPG_IN_AAG(cons(X1, X2), X3, cons(X1, X4)) → APPG_IN_AAG(X2, X3, X4)
PARSEA_IN_GA(X1, X2) → U20_GA(X1, X2, appcG_in_aag(X3, X4, X1))
U20_GA(X1, X2, appcG_out_aag(X3, X4, X1)) → U21_GA(X1, X2, appH_in_gga(X3, X4, X5))
U20_GA(X1, X2, appcG_out_aag(X3, X4, X1)) → APPH_IN_GGA(X3, X4, X5)
APPH_IN_GGA(cons(X1, X2), X3, cons(X1, X4)) → U6_GGA(X1, X2, X3, X4, appH_in_gga(X2, X3, X4))
APPH_IN_GGA(cons(X1, X2), X3, cons(X1, X4)) → APPH_IN_GGA(X2, X3, X4)
U20_GA(X1, X2, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, X2, appcH_in_gga(X3, X4, X5))
U22_GA(X1, X2, appcH_out_gga(X3, X4, X5)) → U23_GA(X1, X2, parseA_in_ga(X5, X2))
U22_GA(X1, X2, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5, X2)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4))), X5) → U7_GA(X1, X2, X3, X4, X5, appcB_in_gggga(X1, X2, X3, X4, X6))
U7_GA(X1, X2, X3, X4, X5, appcB_out_gggga(X1, X2, X3, X4, X6)) → U8_GA(X1, X2, X3, X4, X5, parseA_in_ga(X6, X5))
U7_GA(X1, X2, X3, X4, X5, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6, X5)
PARSEA_IN_GA(cons(X1, X2), X3) → U9_GA(X1, X2, X3, appC_in_aaaaag(X4, X5, X6, X7, X8, X2))
PARSEA_IN_GA(cons(X1, X2), X3) → APPC_IN_AAAAAG(X4, X5, X6, X7, X8, X2)
APPC_IN_AAAAAG(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U1_AAAAAG(X1, X2, X3, X4, X5, X6, X7, appC_in_aaaaag(X2, X3, X4, X5, X6, X7))
APPC_IN_AAAAAG(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPC_IN_AAAAAG(X2, X3, X4, X5, X6, X7)
PARSEA_IN_GA(cons(X1, X2), X3) → U10_GA(X1, X2, X3, appcC_in_aaaaag(X4, X5, X6, X7, X8, X2))
U10_GA(X1, X2, X3, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U11_GA(X1, X2, X3, appI_in_ggggga(X4, X5, X6, X7, X8, X9))
U10_GA(X1, X2, X3, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → APPI_IN_GGGGGA(X4, X5, X6, X7, X8, X9)
APPI_IN_GGGGGA(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U2_GGGGGA(X1, X2, X3, X4, X5, X6, X7, appI_in_ggggga(X2, X3, X4, X5, X6, X7))
APPI_IN_GGGGGA(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPI_IN_GGGGGA(X2, X3, X4, X5, X6, X7)
U10_GA(X1, X2, X3, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, X3, appcD_in_gggggga(X1, X4, X5, X6, X7, X8, X9))
U12_GA(X1, X2, X3, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → U13_GA(X1, X2, X3, parseA_in_ga(X9, X3))
U12_GA(X1, X2, X3, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9, X3)
PARSEA_IN_GA(X1, X2) → U14_GA(X1, X2, appE_in_aaaag(X3, X4, X5, X6, X1))
PARSEA_IN_GA(X1, X2) → APPE_IN_AAAAG(X3, X4, X5, X6, X1)
APPE_IN_AAAAG(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U3_AAAAG(X1, X2, X3, X4, X5, X6, appE_in_aaaag(X2, X3, X4, X5, X6))
APPE_IN_AAAAG(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPE_IN_AAAAG(X2, X3, X4, X5, X6)
PARSEA_IN_GA(X1, X2) → U15_GA(X1, X2, appcE_in_aaaag(X3, X4, X5, X6, X1))
U15_GA(X1, X2, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U16_GA(X1, X2, appF_in_gggga(X3, X4, X5, X6, X7))
U15_GA(X1, X2, appcE_out_aaaag(X3, X4, X5, X6, X1)) → APPF_IN_GGGGA(X3, X4, X5, X6, X7)
APPF_IN_GGGGA(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U4_GGGGA(X1, X2, X3, X4, X5, X6, appF_in_gggga(X2, X3, X4, X5, X6))
APPF_IN_GGGGA(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPF_IN_GGGGA(X2, X3, X4, X5, X6)
U15_GA(X1, X2, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, X2, appcF_in_gggga(X3, X4, X5, X6, X7))
U17_GA(X1, X2, appcF_out_gggga(X3, X4, X5, X6, X7)) → U18_GA(X1, X2, parseA_in_ga(X7, X2))
U17_GA(X1, X2, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7, X2)
PARSEA_IN_GA(X1, X2) → U19_GA(X1, X2, appG_in_aag(X3, X4, X1))
PARSEA_IN_GA(X1, X2) → APPG_IN_AAG(X3, X4, X1)
APPG_IN_AAG(cons(X1, X2), X3, cons(X1, X4)) → U5_AAG(X1, X2, X3, X4, appG_in_aag(X2, X3, X4))
APPG_IN_AAG(cons(X1, X2), X3, cons(X1, X4)) → APPG_IN_AAG(X2, X3, X4)
PARSEA_IN_GA(X1, X2) → U20_GA(X1, X2, appcG_in_aag(X3, X4, X1))
U20_GA(X1, X2, appcG_out_aag(X3, X4, X1)) → U21_GA(X1, X2, appH_in_gga(X3, X4, X5))
U20_GA(X1, X2, appcG_out_aag(X3, X4, X1)) → APPH_IN_GGA(X3, X4, X5)
APPH_IN_GGA(cons(X1, X2), X3, cons(X1, X4)) → U6_GGA(X1, X2, X3, X4, appH_in_gga(X2, X3, X4))
APPH_IN_GGA(cons(X1, X2), X3, cons(X1, X4)) → APPH_IN_GGA(X2, X3, X4)
U20_GA(X1, X2, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, X2, appcH_in_gga(X3, X4, X5))
U22_GA(X1, X2, appcH_out_gga(X3, X4, X5)) → U23_GA(X1, X2, parseA_in_ga(X5, X2))
U22_GA(X1, X2, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5, X2)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
APPH_IN_GGA(cons(X1, X2), X3, cons(X1, X4)) → APPH_IN_GGA(X2, X3, X4)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
APPH_IN_GGA(cons(X1, X2), X3, cons(X1, X4)) → APPH_IN_GGA(X2, X3, X4)
APPH_IN_GGA(cons(X1, X2), X3) → APPH_IN_GGA(X2, X3)
From the DPs we obtained the following set of size-change graphs:
APPG_IN_AAG(cons(X1, X2), X3, cons(X1, X4)) → APPG_IN_AAG(X2, X3, X4)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
APPG_IN_AAG(cons(X1, X2), X3, cons(X1, X4)) → APPG_IN_AAG(X2, X3, X4)
APPG_IN_AAG(cons(X1, X4)) → APPG_IN_AAG(X4)
From the DPs we obtained the following set of size-change graphs:
APPF_IN_GGGGA(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPF_IN_GGGGA(X2, X3, X4, X5, X6)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
APPF_IN_GGGGA(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPF_IN_GGGGA(X2, X3, X4, X5, X6)
APPF_IN_GGGGA(cons(X1, X2), X3, X4, X5) → APPF_IN_GGGGA(X2, X3, X4, X5)
From the DPs we obtained the following set of size-change graphs:
APPE_IN_AAAAG(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPE_IN_AAAAG(X2, X3, X4, X5, X6)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
APPE_IN_AAAAG(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → APPE_IN_AAAAG(X2, X3, X4, X5, X6)
APPE_IN_AAAAG(cons(X1, X6)) → APPE_IN_AAAAG(X6)
From the DPs we obtained the following set of size-change graphs:
APPI_IN_GGGGGA(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPI_IN_GGGGGA(X2, X3, X4, X5, X6, X7)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
APPI_IN_GGGGGA(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPI_IN_GGGGGA(X2, X3, X4, X5, X6, X7)
APPI_IN_GGGGGA(cons(X1, X2), X3, X4, X5, X6) → APPI_IN_GGGGGA(X2, X3, X4, X5, X6)
From the DPs we obtained the following set of size-change graphs:
APPC_IN_AAAAAG(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPC_IN_AAAAAG(X2, X3, X4, X5, X6, X7)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
APPC_IN_AAAAAG(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → APPC_IN_AAAAAG(X2, X3, X4, X5, X6, X7)
APPC_IN_AAAAAG(cons(X1, X7)) → APPC_IN_AAAAAG(X7)
From the DPs we obtained the following set of size-change graphs:
U7_GA(X1, X2, X3, X4, X5, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6, X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4))), X5) → U7_GA(X1, X2, X3, X4, X5, appcB_in_gggga(X1, X2, X3, X4, X6))
PARSEA_IN_GA(cons(X1, X2), X3) → U10_GA(X1, X2, X3, appcC_in_aaaaag(X4, X5, X6, X7, X8, X2))
U10_GA(X1, X2, X3, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, X3, appcD_in_gggggga(X1, X4, X5, X6, X7, X8, X9))
U12_GA(X1, X2, X3, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9, X3)
PARSEA_IN_GA(X1, X2) → U15_GA(X1, X2, appcE_in_aaaag(X3, X4, X5, X6, X1))
U15_GA(X1, X2, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, X2, appcF_in_gggga(X3, X4, X5, X6, X7))
U17_GA(X1, X2, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7, X2)
PARSEA_IN_GA(X1, X2) → U20_GA(X1, X2, appcG_in_aag(X3, X4, X1))
U20_GA(X1, X2, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, X2, appcH_in_gga(X3, X4, X5))
U22_GA(X1, X2, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5, X2)
appcB_in_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_in_aaaaag(X2, X3, X4, X5, X6, X7))
U36_aaaaag(X1, X2, X3, X4, X5, X6, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7)) → U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
appcI_in_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7)) → U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_in_ggggga(X2, X3, X4, X5, X6, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, X7, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_in_aaaag(X2, X3, X4, X5, X6))
U38_aaaag(X1, X2, X3, X4, X5, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3)) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6)) → U39_gggga(X1, X2, X3, X4, X5, X6, appcF_in_gggga(X2, X3, X4, X5, X6))
U39_gggga(X1, X2, X3, X4, X5, X6, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(nil, X1, cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X2), X3, cons(X1, X4)) → U40_aag(X1, X2, X3, X4, appcG_in_aag(X2, X3, X4))
U40_aag(X1, X2, X3, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1, cons(s(a, b), X1)) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3, cons(X1, X4)) → U41_gga(X1, X2, X3, X4, appcH_in_gga(X2, X3, X4))
U41_gga(X1, X2, X3, X4, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_in_gggga(X1, X2, X3, X4))
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, appcD_in_gggggga(X1, X4, X5, X6, X7, X8))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
appcB_in_gggga(X1, X2, X3, X4) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6) → U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcB_in_gggga(x0, x1, x2, x3)
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcD_in_gggggga(x0, x1, x2, x3, x4, x5)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6)
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, appcD_in_gggggga(X1, X4, X5, X6, X7, X8))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
appcB_in_gggga(X1, X2, X3, X4) → appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6) → U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcB_in_gggga(x0, x1, x2, x3)
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcD_in_gggggga(x0, x1, x2, x3, x4, x5)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6)
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, appcD_in_gggggga(X1, X4, X5, X6, X7, X8))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6) → U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcB_in_gggga(x0, x1, x2, x3)
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcD_in_gggggga(x0, x1, x2, x3, x4, x5)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
appcB_in_gggga(x0, x1, x2, x3)
U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6)
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, appcD_in_gggggga(X1, X4, X5, X6, X7, X8))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6) → U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcD_in_gggggga(x0, x1, x2, x3, x4, x5)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, U42_gggggga(X1, X4, X5, X6, X7, X8, appcI_in_ggggga(X4, X5, X6, X7, X8)))
U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6)
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, U42_gggggga(X1, X4, X5, X6, X7, X8, appcI_in_ggggga(X4, X5, X6, X7, X8)))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcD_in_gggggga(X1, X2, X3, X4, X5, X6) → U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcD_in_gggggga(x0, x1, x2, x3, x4, x5)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6)
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, U42_gggggga(X1, X4, X5, X6, X7, X8, appcI_in_ggggga(X4, X5, X6, X7, X8)))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcD_in_gggggga(x0, x1, x2, x3, x4, x5)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
appcD_in_gggggga(x0, x1, x2, x3, x4, x5)
U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, X6)) → PARSEA_IN_GA(X6)
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, U42_gggggga(X1, X4, X5, X6, X7, X8, appcI_in_ggggga(X4, X5, X6, X7, X8)))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
U7_GA(z0, z1, z2, z3, appcB_out_gggga(z0, z1, z2, z3, cons(s(a, s(z0, z1, z2), b), z3))) → PARSEA_IN_GA(cons(s(a, s(z0, z1, z2), b), z3))
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, U42_gggggga(X1, X4, X5, X6, X7, X8, appcI_in_ggggga(X4, X5, X6, X7, X8)))
U7_GA(z0, z1, z2, z3, appcB_out_gggga(z0, z1, z2, z3, cons(s(a, s(z0, z1, z2), b), z3))) → PARSEA_IN_GA(cons(s(a, s(z0, z1, z2), b), z3))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PARSEA_IN_GA(cons(X1, X2)) → U10_GA(X1, X2, appcC_in_aaaaag(X2))
U15_GA(X1, appcE_out_aaaag(X3, X4, X5, X6, X1)) → U17_GA(X1, appcF_in_gggga(X3, X4, X5, X6))
PARSEA_IN_GA(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → U7_GA(X1, X2, X3, X4, appcB_out_gggga(X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4)))
U7_GA(z0, z1, z2, z3, appcB_out_gggga(z0, z1, z2, z3, cons(s(a, s(z0, z1, z2), b), z3))) → PARSEA_IN_GA(cons(s(a, s(z0, z1, z2), b), z3))
POL(PARSEA_IN_GA(x1)) = x1
POL(U10_GA(x1, x2, x3)) = x3
POL(U12_GA(x1, x2, x3)) = x3
POL(U15_GA(x1, x2)) = x2
POL(U17_GA(x1, x2)) = x2
POL(U20_GA(x1, x2)) = x2
POL(U22_GA(x1, x2)) = x2
POL(U36_aaaaag(x1, x2, x3)) = 1 + x3
POL(U37_ggggga(x1, x2, x3, x4, x5, x6, x7)) = 1 + x7
POL(U38_aaaag(x1, x2, x3)) = 1 + x3
POL(U39_gggga(x1, x2, x3, x4, x5, x6)) = 1 + x6
POL(U40_aag(x1, x2, x3)) = 1 + x3
POL(U41_gga(x1, x2, x3, x4)) = 1 + x4
POL(U42_gggggga(x1, x2, x3, x4, x5, x6, x7)) = 1 + x7
POL(U7_GA(x1, x2, x3, x4, x5)) = 1 + x5
POL(a) = 0
POL(appcB_out_gggga(x1, x2, x3, x4, x5)) = x5
POL(appcC_in_aaaaag(x1)) = x1
POL(appcC_out_aaaaag(x1, x2, x3, x4, x5, x6)) = 1 + x1 + x5
POL(appcD_out_gggggga(x1, x2, x3, x4, x5, x6, x7)) = x7
POL(appcE_in_aaaag(x1)) = x1
POL(appcE_out_aaaag(x1, x2, x3, x4, x5)) = 1 + x1 + x4
POL(appcF_in_gggga(x1, x2, x3, x4)) = x1 + x4
POL(appcF_out_gggga(x1, x2, x3, x4, x5)) = x5
POL(appcG_in_aag(x1)) = x1
POL(appcG_out_aag(x1, x2, x3)) = x1 + x2
POL(appcH_in_gga(x1, x2)) = x1 + x2
POL(appcH_out_gga(x1, x2, x3)) = x3
POL(appcI_in_ggggga(x1, x2, x3, x4, x5)) = x1 + x5
POL(appcI_out_ggggga(x1, x2, x3, x4, x5, x6)) = x6
POL(b) = 0
POL(cons(x1, x2)) = 1 + x2
POL(nil) = 1
POL(s(x1, x2)) = 0
POL(s(x1, x2, x3)) = 0
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
U12_GA(X1, X2, appcD_out_gggggga(X1, X4, X5, X6, X7, X8, X9)) → PARSEA_IN_GA(X9)
PARSEA_IN_GA(X1) → U15_GA(X1, appcE_in_aaaag(X1))
U17_GA(X1, appcF_out_gggga(X3, X4, X5, X6, X7)) → PARSEA_IN_GA(X7)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
U10_GA(X1, X2, appcC_out_aaaaag(X4, X5, X6, X7, X8, X2)) → U12_GA(X1, X2, U42_gggggga(X1, X4, X5, X6, X7, X8, appcI_in_ggggga(X4, X5, X6, X7, X8)))
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
appcI_in_ggggga(nil, X1, X2, X3, X4) → appcI_out_ggggga(nil, X1, X2, X3, X4, cons(s(a, s(X1, X2, X3), b), X4))
appcI_in_ggggga(cons(X1, X2), X3, X4, X5, X6) → U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_in_ggggga(X2, X3, X4, X5, X6))
U42_gggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcD_out_gggggga(X1, X2, X3, X4, X5, X6, cons(X1, X7))
U37_ggggga(X1, X2, X3, X4, X5, X6, appcI_out_ggggga(X2, X3, X4, X5, X6, X7)) → appcI_out_ggggga(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcF_in_gggga(nil, X1, X2, X3) → appcF_out_gggga(nil, X1, X2, X3, cons(s(a, s(X1, X2), b), X3))
appcF_in_gggga(cons(X1, X2), X3, X4, X5) → U39_gggga(X1, X2, X3, X4, X5, appcF_in_gggga(X2, X3, X4, X5))
U39_gggga(X1, X2, X3, X4, X5, appcF_out_gggga(X2, X3, X4, X5, X6)) → appcF_out_gggga(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcE_in_aaaag(cons(a, cons(s(X1, X2), cons(b, X3)))) → appcE_out_aaaag(nil, X1, X2, X3, cons(a, cons(s(X1, X2), cons(b, X3))))
appcE_in_aaaag(cons(X1, X6)) → U38_aaaag(X1, X6, appcE_in_aaaag(X6))
U38_aaaag(X1, X6, appcE_out_aaaag(X2, X3, X4, X5, X6)) → appcE_out_aaaag(cons(X1, X2), X3, X4, X5, cons(X1, X6))
appcC_in_aaaaag(cons(a, cons(s(X1, X2, X3), cons(b, X4)))) → appcC_out_aaaaag(nil, X1, X2, X3, X4, cons(a, cons(s(X1, X2, X3), cons(b, X4))))
appcC_in_aaaaag(cons(X1, X7)) → U36_aaaaag(X1, X7, appcC_in_aaaaag(X7))
U36_aaaaag(X1, X7, appcC_out_aaaaag(X2, X3, X4, X5, X6, X7)) → appcC_out_aaaaag(cons(X1, X2), X3, X4, X5, X6, cons(X1, X7))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
appcC_in_aaaaag(x0)
U36_aaaaag(x0, x1, x2)
appcI_in_ggggga(x0, x1, x2, x3, x4)
U37_ggggga(x0, x1, x2, x3, x4, x5, x6)
U42_gggggga(x0, x1, x2, x3, x4, x5, x6)
appcE_in_aaaag(x0)
U38_aaaag(x0, x1, x2)
appcF_in_gggga(x0, x1, x2, x3)
U39_gggga(x0, x1, x2, x3, x4, x5)
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U20_GA(X1, appcG_out_aag(X3, X4, X1)) → U22_GA(X1, appcH_in_gga(X3, X4))
POL(PARSEA_IN_GA(x1)) = 1 + x1
POL(U20_GA(x1, x2)) = 1 + x2
POL(U22_GA(x1, x2)) = x2
POL(U40_aag(x1, x2, x3)) = x1 + x3
POL(U41_gga(x1, x2, x3, x4)) = x1 + x4
POL(a) = 0
POL(appcG_in_aag(x1)) = x1
POL(appcG_out_aag(x1, x2, x3)) = x1 + x2
POL(appcH_in_gga(x1, x2)) = x1 + x2
POL(appcH_out_gga(x1, x2, x3)) = 1 + x3
POL(b) = 1
POL(cons(x1, x2)) = x1 + x2
POL(nil) = 1
POL(s(x1, x2)) = 0
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
PARSEA_IN_GA(X1) → U20_GA(X1, appcG_in_aag(X1))
U22_GA(X1, appcH_out_gga(X3, X4, X5)) → PARSEA_IN_GA(X5)
appcH_in_gga(nil, X1) → appcH_out_gga(nil, X1, cons(s(a, b), X1))
appcH_in_gga(cons(X1, X2), X3) → U41_gga(X1, X2, X3, appcH_in_gga(X2, X3))
U41_gga(X1, X2, X3, appcH_out_gga(X2, X3, X4)) → appcH_out_gga(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(cons(a, cons(b, X1))) → appcG_out_aag(nil, X1, cons(a, cons(b, X1)))
appcG_in_aag(cons(X1, X4)) → U40_aag(X1, X4, appcG_in_aag(X4))
U40_aag(X1, X4, appcG_out_aag(X2, X3, X4)) → appcG_out_aag(cons(X1, X2), X3, cons(X1, X4))
appcG_in_aag(x0)
U40_aag(x0, x1, x2)
appcH_in_gga(x0, x1)
U41_gga(x0, x1, x2, x3)